<template>
	<h2>异步组件文本</h2>
</template>

<script>
	export default{
		created() {
			console.log('created')
		},
		mounted() {
			console.log('mounted')
		},
		beforeDestroy() {
			console.log('beforeDestroy')
		},
		destroyed() {
			console.log('destroyed')
		},
	}
</script>

<style lang="scss">
	$color: red;
	
	h2 {
	  color: $color;
	}
	 ::v-deep .el-input-number{
		 color: $color;
	 }
</style>
